package com.utils.jackyun;

import java.math.BigDecimal;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

/**
 * 吉客云商品sku价格映射
 * @Description: 
 * @author daigb
 * @date 2021-06-28
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class JkyProductSkuPriceResDTO {

    /**
     * 状态码
     */
    @JsonProperty(value = "code")
    private String code;
    
    /**
     * developerInfo
     */
    @JsonProperty(value = "developerInfo")
    private String developerInfo;
    
    /**
     * msg
     */
    @JsonProperty(value = "msg")
    private String msg;
    
    /**
     * result
     */
    @JsonProperty(value = "result")
    private Result result;
    
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Result {
        
        /**
         * result
         */
        @JsonProperty(value = "contextId")
        private String contextId;
        
        /**
         * data
         */
        @JsonProperty(value = "data")
        private DataResult dataResult;
        
    }
    
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class DataResult {
        /**
         * goodsStockQuantity
         */
        @JsonProperty(value = "skuprice")
        private List<Skuprice> skupriceList;
        
    }
    
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Skuprice {
        /**
         * id
         */
        @JsonProperty(value = "id")
        private String id;
        
        /**
         * status
         */
        @JsonProperty(value = "status")
        private Integer status;
        
        /**
         * skuId
         */
        @JsonProperty(value = "skuId")
        private String skuId;
        
        /**
         * skuName
         */
        @JsonProperty(value = "skuName")
        private String skuName;
        
        /**
         * goodsId
         */
        @JsonProperty(value = "goodsId")
        private String goodsId;
        
        /**
         * goodsNo
         */
        @JsonProperty(value = "goodsNo")
        private String goodsNo;
        
        /**
         * goodsName
         */
        @JsonProperty(value = "goodsName")
        private String goodsName;
        
        /**
         * skuId
         */
        @JsonProperty(value = "currencyCode")
        private String currencyCode;
        
        /**
         * skuName
         */
        @JsonProperty(value = "currencyName")
        private String currencyName;
        
        /**
         * price1
         */
        @JsonProperty(value = "price1")
        private BigDecimal price1;
        
        /**
         * price2
         */
        @JsonProperty(value = "price2")
        private BigDecimal price2;
        
        /**
         * price3
         */
        @JsonProperty(value = "price3")
        private BigDecimal price3;
        
        /**
         * price4
         */
        @JsonProperty(value = "price4")
        private BigDecimal price4;
        
        /**
         * price5
         */
        @JsonProperty(value = "price5")
        private BigDecimal price5;
        
        /**
         * minPrice
         */
        @JsonProperty(value = "minPrice")
        private BigDecimal minPrice;
        
        /**
         * imgUrl
         */
        @JsonProperty(value = "imgUrl")
        private String imgUrl;
        
    }

}
